package club.pchome.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/** EG、EEB、REB流水表**/
@Table(name="t_fund_record")
public class TFundRecord{
	/****/
	@Id
	private Long id;

	/**操作数量**/
	@Column
	private BigDecimal operAmount;

	/**增加数量**/
	@Column
	private BigDecimal inAmount;

	/**减少数量**/
	@Column
	private BigDecimal outAmount;

	/**创建时间**/
	@Column
	private Date createTime;

	/**用户ID**/
	@Column
	private Long userId;

	/**项目名称**/
	@Column
	private String fundMode;

	/**项目类型**/
	@Column
	private Integer fundType;

	/**备注**/
	@Column
	private String remarks;

	/**可用EG/可用原始胚胎/可用精良胚胎**/
	@Column
	private BigDecimal usableAmount;

	/**操作类型（1为添加可用EG，2，减少可用EG，3为添加可用REB，4为减少可用REB,5为增加可用EEB，6为减少可用EEB）**/
	@Column
	private Integer operType;

	public void setId(Long id) {
		this.id=id;
	}

	public Long getId() {
		return this.id;
	}

	public void setOperAmount(BigDecimal operAmount) {
		this.operAmount=operAmount;
	}

	public BigDecimal getOperAmount() {
		return this.operAmount;
	}

	public void setInAmount(BigDecimal inAmount) {
		this.inAmount=inAmount;
	}

	public BigDecimal getInAmount() {
		return this.inAmount;
	}

	public void setOutAmount(BigDecimal outAmount) {
		this.outAmount=outAmount;
	}

	public BigDecimal getOutAmount() {
		return this.outAmount;
	}

	public void setCreateTime(Date createTime) {
		this.createTime=createTime;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setUserId(Long userId) {
		this.userId=userId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setFundMode(String fundMode) {
		this.fundMode=fundMode;
	}

	public String getFundMode() {
		return this.fundMode;
	}

	public void setFundType(Integer fundType) {
		this.fundType=fundType;
	}

	public Integer getFundType() {
		return this.fundType;
	}

	public void setRemarks(String remarks) {
		this.remarks=remarks;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setUsableAmount(BigDecimal usableAmount) {
		this.usableAmount=usableAmount;
	}

	public BigDecimal getUsableAmount() {
		return this.usableAmount;
	}

	public void setOperType(Integer operType) {
		this.operType=operType;
	}

	public Integer getOperType() {
		return this.operType;
	}

}